package com.swiftride.feign;

import com.swiftride.constants.Constants;
import com.swiftride.pojo.param.CustomerFineParam;
import com.swiftride.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = Constants.Remote.SERVICE_CUSTOMER, path = "/app/customer", contextId = "CustomerFeign")
public interface CustomerFeign {

    @PostMapping("/customerFine")
    R saveCustomerFine(@RequestBody CustomerFineParam customerFineParam);
}
